package com.rf.richfitwheel.admin.sys.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SxOpinionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SxOpinionExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrgnameIsNull() {
            addCriterion("orgname is null");
            return (Criteria) this;
        }

        public Criteria andOrgnameIsNotNull() {
            addCriterion("orgname is not null");
            return (Criteria) this;
        }

        public Criteria andOrgnameEqualTo(String value) {
            addCriterion("orgname =", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameNotEqualTo(String value) {
            addCriterion("orgname <>", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameGreaterThan(String value) {
            addCriterion("orgname >", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameGreaterThanOrEqualTo(String value) {
            addCriterion("orgname >=", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameLessThan(String value) {
            addCriterion("orgname <", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameLessThanOrEqualTo(String value) {
            addCriterion("orgname <=", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameLike(String value) {
            addCriterion("orgname like", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameNotLike(String value) {
            addCriterion("orgname not like", value, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameIn(List<String> values) {
            addCriterion("orgname in", values, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameNotIn(List<String> values) {
            addCriterion("orgname not in", values, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameBetween(String value1, String value2) {
            addCriterion("orgname between", value1, value2, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgnameNotBetween(String value1, String value2) {
            addCriterion("orgname not between", value1, value2, "orgname");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIsNull() {
            addCriterion("orgcode is null");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIsNotNull() {
            addCriterion("orgcode is not null");
            return (Criteria) this;
        }

        public Criteria andOrgcodeEqualTo(String value) {
            addCriterion("orgcode =", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotEqualTo(String value) {
            addCriterion("orgcode <>", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeGreaterThan(String value) {
            addCriterion("orgcode >", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeGreaterThanOrEqualTo(String value) {
            addCriterion("orgcode >=", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLessThan(String value) {
            addCriterion("orgcode <", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLessThanOrEqualTo(String value) {
            addCriterion("orgcode <=", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeLike(String value) {
            addCriterion("orgcode like", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotLike(String value) {
            addCriterion("orgcode not like", value, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeIn(List<String> values) {
            addCriterion("orgcode in", values, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotIn(List<String> values) {
            addCriterion("orgcode not in", values, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeBetween(String value1, String value2) {
            addCriterion("orgcode between", value1, value2, "orgcode");
            return (Criteria) this;
        }

        public Criteria andOrgcodeNotBetween(String value1, String value2) {
            addCriterion("orgcode not between", value1, value2, "orgcode");
            return (Criteria) this;
        }

        public Criteria andTellernameIsNull() {
            addCriterion("tellername is null");
            return (Criteria) this;
        }

        public Criteria andTellernameIsNotNull() {
            addCriterion("tellername is not null");
            return (Criteria) this;
        }

        public Criteria andTellernameEqualTo(String value) {
            addCriterion("tellername =", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameNotEqualTo(String value) {
            addCriterion("tellername <>", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameGreaterThan(String value) {
            addCriterion("tellername >", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameGreaterThanOrEqualTo(String value) {
            addCriterion("tellername >=", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameLessThan(String value) {
            addCriterion("tellername <", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameLessThanOrEqualTo(String value) {
            addCriterion("tellername <=", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameLike(String value) {
            addCriterion("tellername like", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameNotLike(String value) {
            addCriterion("tellername not like", value, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameIn(List<String> values) {
            addCriterion("tellername in", values, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameNotIn(List<String> values) {
            addCriterion("tellername not in", values, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameBetween(String value1, String value2) {
            addCriterion("tellername between", value1, value2, "tellername");
            return (Criteria) this;
        }

        public Criteria andTellernameNotBetween(String value1, String value2) {
            addCriterion("tellername not between", value1, value2, "tellername");
            return (Criteria) this;
        }

        public Criteria andMoudletypeIsNull() {
            addCriterion("moudleType is null");
            return (Criteria) this;
        }

        public Criteria andMoudletypeIsNotNull() {
            addCriterion("moudleType is not null");
            return (Criteria) this;
        }

        public Criteria andMoudletypeEqualTo(String value) {
            addCriterion("moudleType =", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeNotEqualTo(String value) {
            addCriterion("moudleType <>", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeGreaterThan(String value) {
            addCriterion("moudleType >", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeGreaterThanOrEqualTo(String value) {
            addCriterion("moudleType >=", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeLessThan(String value) {
            addCriterion("moudleType <", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeLessThanOrEqualTo(String value) {
            addCriterion("moudleType <=", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeLike(String value) {
            addCriterion("moudleType like", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeNotLike(String value) {
            addCriterion("moudleType not like", value, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeIn(List<String> values) {
            addCriterion("moudleType in", values, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeNotIn(List<String> values) {
            addCriterion("moudleType not in", values, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeBetween(String value1, String value2) {
            addCriterion("moudleType between", value1, value2, "moudletype");
            return (Criteria) this;
        }

        public Criteria andMoudletypeNotBetween(String value1, String value2) {
            addCriterion("moudleType not between", value1, value2, "moudletype");
            return (Criteria) this;
        }

        public Criteria andOpinionIsNull() {
            addCriterion("opinion is null");
            return (Criteria) this;
        }

        public Criteria andOpinionIsNotNull() {
            addCriterion("opinion is not null");
            return (Criteria) this;
        }

        public Criteria andOpinionEqualTo(String value) {
            addCriterion("opinion =", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotEqualTo(String value) {
            addCriterion("opinion <>", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionGreaterThan(String value) {
            addCriterion("opinion >", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionGreaterThanOrEqualTo(String value) {
            addCriterion("opinion >=", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLessThan(String value) {
            addCriterion("opinion <", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLessThanOrEqualTo(String value) {
            addCriterion("opinion <=", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionLike(String value) {
            addCriterion("opinion like", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotLike(String value) {
            addCriterion("opinion not like", value, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionIn(List<String> values) {
            addCriterion("opinion in", values, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotIn(List<String> values) {
            addCriterion("opinion not in", values, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionBetween(String value1, String value2) {
            addCriterion("opinion between", value1, value2, "opinion");
            return (Criteria) this;
        }

        public Criteria andOpinionNotBetween(String value1, String value2) {
            addCriterion("opinion not between", value1, value2, "opinion");
            return (Criteria) this;
        }

        public Criteria andDisposeIsNull() {
            addCriterion("dispose is null");
            return (Criteria) this;
        }

        public Criteria andDisposeIsNotNull() {
            addCriterion("dispose is not null");
            return (Criteria) this;
        }

        public Criteria andDisposeEqualTo(String value) {
            addCriterion("dispose =", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeNotEqualTo(String value) {
            addCriterion("dispose <>", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeGreaterThan(String value) {
            addCriterion("dispose >", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeGreaterThanOrEqualTo(String value) {
            addCriterion("dispose >=", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeLessThan(String value) {
            addCriterion("dispose <", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeLessThanOrEqualTo(String value) {
            addCriterion("dispose <=", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeLike(String value) {
            addCriterion("dispose like", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeNotLike(String value) {
            addCriterion("dispose not like", value, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeIn(List<String> values) {
            addCriterion("dispose in", values, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeNotIn(List<String> values) {
            addCriterion("dispose not in", values, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeBetween(String value1, String value2) {
            addCriterion("dispose between", value1, value2, "dispose");
            return (Criteria) this;
        }

        public Criteria andDisposeNotBetween(String value1, String value2) {
            addCriterion("dispose not between", value1, value2, "dispose");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(String value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(String value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(String value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(String value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(String value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLike(String value) {
            addCriterion("operator like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotLike(String value) {
            addCriterion("operator not like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<String> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<String> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(String value1, String value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(String value1, String value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatordateIsNull() {
            addCriterion("operatordate is null");
            return (Criteria) this;
        }

        public Criteria andOperatordateIsNotNull() {
            addCriterion("operatordate is not null");
            return (Criteria) this;
        }

        public Criteria andOperatordateEqualTo(Date value) {
            addCriterion("operatordate =", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateNotEqualTo(Date value) {
            addCriterion("operatordate <>", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateGreaterThan(Date value) {
            addCriterion("operatordate >", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateGreaterThanOrEqualTo(Date value) {
            addCriterion("operatordate >=", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateLessThan(Date value) {
            addCriterion("operatordate <", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateLessThanOrEqualTo(Date value) {
            addCriterion("operatordate <=", value, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateIn(List<Date> values) {
            addCriterion("operatordate in", values, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateNotIn(List<Date> values) {
            addCriterion("operatordate not in", values, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateBetween(Date value1, Date value2) {
            addCriterion("operatordate between", value1, value2, "operatordate");
            return (Criteria) this;
        }

        public Criteria andOperatordateNotBetween(Date value1, Date value2) {
            addCriterion("operatordate not between", value1, value2, "operatordate");
            return (Criteria) this;
        }

        public Criteria andCreatenmIsNull() {
            addCriterion("createnm is null");
            return (Criteria) this;
        }

        public Criteria andCreatenmIsNotNull() {
            addCriterion("createnm is not null");
            return (Criteria) this;
        }

        public Criteria andCreatenmEqualTo(String value) {
            addCriterion("createnm =", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmNotEqualTo(String value) {
            addCriterion("createnm <>", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmGreaterThan(String value) {
            addCriterion("createnm >", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmGreaterThanOrEqualTo(String value) {
            addCriterion("createnm >=", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmLessThan(String value) {
            addCriterion("createnm <", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmLessThanOrEqualTo(String value) {
            addCriterion("createnm <=", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmLike(String value) {
            addCriterion("createnm like", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmNotLike(String value) {
            addCriterion("createnm not like", value, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmIn(List<String> values) {
            addCriterion("createnm in", values, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmNotIn(List<String> values) {
            addCriterion("createnm not in", values, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmBetween(String value1, String value2) {
            addCriterion("createnm between", value1, value2, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatenmNotBetween(String value1, String value2) {
            addCriterion("createnm not between", value1, value2, "createnm");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createdate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createdate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createdate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createdate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createdate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createdate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createdate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createdate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createdate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createdate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createdate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createdate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andApvstIsNull() {
            addCriterion("apvst is null");
            return (Criteria) this;
        }

        public Criteria andApvstIsNotNull() {
            addCriterion("apvst is not null");
            return (Criteria) this;
        }

        public Criteria andApvstEqualTo(String value) {
            addCriterion("apvst =", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstNotEqualTo(String value) {
            addCriterion("apvst <>", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstGreaterThan(String value) {
            addCriterion("apvst >", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstGreaterThanOrEqualTo(String value) {
            addCriterion("apvst >=", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstLessThan(String value) {
            addCriterion("apvst <", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstLessThanOrEqualTo(String value) {
            addCriterion("apvst <=", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstLike(String value) {
            addCriterion("apvst like", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstNotLike(String value) {
            addCriterion("apvst not like", value, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstIn(List<String> values) {
            addCriterion("apvst in", values, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstNotIn(List<String> values) {
            addCriterion("apvst not in", values, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstBetween(String value1, String value2) {
            addCriterion("apvst between", value1, value2, "apvst");
            return (Criteria) this;
        }

        public Criteria andApvstNotBetween(String value1, String value2) {
            addCriterion("apvst not between", value1, value2, "apvst");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIsNull() {
            addCriterion("process_instance_id is null");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIsNotNull() {
            addCriterion("process_instance_id is not null");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdEqualTo(String value) {
            addCriterion("process_instance_id =", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotEqualTo(String value) {
            addCriterion("process_instance_id <>", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdGreaterThan(String value) {
            addCriterion("process_instance_id >", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdGreaterThanOrEqualTo(String value) {
            addCriterion("process_instance_id >=", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLessThan(String value) {
            addCriterion("process_instance_id <", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLessThanOrEqualTo(String value) {
            addCriterion("process_instance_id <=", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdLike(String value) {
            addCriterion("process_instance_id like", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotLike(String value) {
            addCriterion("process_instance_id not like", value, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdIn(List<String> values) {
            addCriterion("process_instance_id in", values, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotIn(List<String> values) {
            addCriterion("process_instance_id not in", values, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdBetween(String value1, String value2) {
            addCriterion("process_instance_id between", value1, value2, "processInstanceId");
            return (Criteria) this;
        }

        public Criteria andProcessInstanceIdNotBetween(String value1, String value2) {
            addCriterion("process_instance_id not between", value1, value2, "processInstanceId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}